package structuralpattern.adapter.classadapter;
/**
 * SD兼容TF
 * */
public class SDAdapterTF extends TFCardImpl implements SDCard{
    @Override
    public String readSD() {
        System.out.println("适配读取tf卡");
        return readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("适配写入tf卡");
        writeTF(msg);
    }
}
